﻿namespace BEGDC.CC.Web.UserControls.CR
{
	using System;
	using System.Data;
	using System.Drawing;
	using System.Web;
	using System.Collections;
	using System.Web.UI.WebControls;
	using System.Web.UI.HtmlControls;
	using BEGDC.CC.BL.Common;
	using BEGDC.CC.Web.UserControls;
	using BEGDC.CC.BL.CCFlow.CR;
	using BEGDC.Utility.Castle;

	/// <summary>
	///		Summary description for NewRequest.
	/// </summary>
	public class NewRequest : System.Web.UI.UserControl
	{
		#region VARIABLES

		protected System.Web.UI.WebControls.ImageButton Btn_Submit;
		protected System.Web.UI.WebControls.RadioButtonList RBL_Transition;
		protected System.Web.UI.WebControls.HyperLink Btn_SubmitRequest;
		protected System.Web.UI.WebControls.LinkButton LinkButton1;
		#endregion

		private void Page_Load(object sender, System.EventArgs e)
		{
			if(!this.IsPostBack)
			{
				this.Btn_Submit.Attributes["onclick"] = "javascript:return OnSubmit();";
			}
		}

		#region Web Form Designer generated code
		override protected void OnInit(EventArgs e)
		{
			//
			// CODEGEN: This call is required by the ASP.NET Web Form Designer.
			//
			InitializeComponent();
			base.OnInit(e);
		}
		
		/// <summary>
		///		Required method for Designer support - do not modify
		///		the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.Load += new System.EventHandler(this.Page_Load);

		}
		#endregion
	}
}
